package org.example.knowledgegraph.repository;

import org.example.knowledgegraph.model.Person;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.data.neo4j.repository.query.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EntityRepository extends Neo4jRepository<Person, Long> {
    Person findByName(String name);
}
